import PageTools from '@/components/PageTools'
// 导入Excel组件的路劲
import UploadExcel from '@/components/UploadExcel'
// 导入上传图片的组件
import ImageUpload from '@/components/ImageUpload'
// 导入切换主题颜色组件
import ThemePicker from '@/components/ThemePicker'
// 导入全屏插件的组件
import ScreenFull from '@/components/ScreenFull'

export default {
  install(Vue) {
    console.log(123)
    Vue.component('PageTools', PageTools)
    // 注册固定写法
    Vue.component('UploadExcel', UploadExcel)
    // 注册图片上传组件
    Vue.component('ImageUpload', ImageUpload)
    // 注册主题颜色组件
    Vue.component('ThemePicker', ThemePicker)
    // 注册全屏组件
    Vue.component('ScreenFull', ScreenFull)
  }
}
